package com.greensecurity.sim.service;

import com.greensecurity.sim.entity.GreenLand;

import java.util.List;
import java.util.Optional;

public interface GreenLandService {
    Optional<GreenLand> findGreenLandById(Long id);

    String saveGreenLand(GreenLand greenLand);

    String delGreenLand(Long id);

    List<GreenLand> findGreenLandAll();

    List<GreenLand> findGreenLandLimit();
}
